package net.wanho.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
 * Author：汤小洋
 * Date：2024-07-26 17:22
 * Description：<描述>
 */
// @Getter
// @Setter
// @ToString
// @EqualsAndHashCode
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {
    private Integer id;
    private String name;
    private String pwd;
    private Integer age;
    private String sex;
    private Double height;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date birthday;
}
